package com.csnf.dao;

import com.csnf.entity.Students;

import java.io.IOException;
import java.util.List;

public interface IStudentsDao {
    List<Students> findAll() throws IOException;
    Students findById(Integer id) throws IOException;
    List<Students> findByName(String name) throws IOException;
    void deleteById(Integer id) throws IOException;
    void update(Students students) throws IOException;
    void add(Students students) throws IOException;
}
